<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <script>
        // 对象
        var zzq = {
            name: 'zzq',
            age: 21,
            address: '河南省汤阴县白营镇白营村',
            sex: '男',
            doing: function () {
                console.log('我在打游戏');
            }
        }
        console.log('我是' + zzq.name + ',我来着' + zzq.address + '，我是' + zzq.sex + '生，我今年' + zzq.age + '岁了,');
        zzq.doing();
    </script>
</body>

</html>